﻿<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="$prjsn$.Entity.Services" assembly="$prjsn$.Entity">

  <class name="ContentType" table="CodeListContentType" lazy="true">
    <cache usage="read-write" region="ShortTerm" />
    <id name="ID" column="ContentTypeId">
      <generator class="increment"></generator>
    </id>

    <property not-null="true" name="Code" />
    <property not-null="true" name="Description" column="Name" />
    <property not-null="true" name="IsVisible" />
    <property not-null="true" name="Suffix" />
  </class>
</hibernate-mapping>